package com.xxxx.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xxxx.server.pojo.Employee;
import com.xxxx.server.util.RespBean;
import com.xxxx.server.util.RespPageBean;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wyd
 * @since 2023-06-11
 */
public interface IEmployeeService extends IService<Employee> {

    RespPageBean getEmpByPage(Integer currentPage, Integer pageSize, Employee employee, LocalDate[] beginDateScope);

    RespBean maxWorkedId();

    RespBean addEmp(Employee employee);

    /**
     * 查询员工导出Excel
     * @param id
     * @return
     */
    List<Employee> getEmployeeExcel(Integer id);
}
